package com.biannuo.szk.community.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.biannuo.szk.common.base.BaseVLLEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * <p>
 * 问答回答表
 * </p>
 *
 * @author admin
 * @since 2022-04-26
 */
@Data
@TableName("inv_question_answer")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "InvQuestionAnswer对象", description = "问答回答表")
public class QuestionAnswer extends BaseVLLEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("问题编号")
    private Long questionId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("解答用户编号")
    private Integer userId;

    @ApiModelProperty("状态，0草稿，1已发布（解答），2被采纳（解答）")
    private String status;

    @ApiModelProperty("是否置顶，0默认；1置顶；")
    private Integer isTop;

    @ApiModelProperty("点赞计数")
    private String agreeCount;

    @ApiModelProperty("点踩计数")
    private String badCount;

    @ApiModelProperty("评论计数")
    private String commentCount;

    @ApiModelProperty("浏览计数")
    private String pageViewCount;

    @ApiModelProperty("创建人")
    private Long createUser;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private Long updateUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

}
